/**
 * MobEditView_Form 部件模型
 *
 * @export
 * @class MobEditView_FormModel
 */
export class MobEditView_FormModel {

    /**
    * 获取数据项集合
    *
    * @returns {any[]}
    * @memberof MobEditView_FormModel
    */
    public getDataItems(): any[] {
        return [
            {
                name: 'srfupdatedate',
                prop: 'updatedate',
                dataType: 'DATETIME',
            },
            {
                name: 'srforikey',
            },
            {
                name: 'srfkey',
                prop: 'expenseid',
                dataType: 'GUID',
            },
            {
                name: 'srfmajortext',
                prop: 'expensename',
                dataType: 'TEXT',
            },
            {
                name: 'srftempmode',
            },
            {
                name: 'srfuf',
            },
            {
                name: 'srfdeid',
            },
            {
                name: 'srfsourcekey',
            },
            {
                name: 'name',
                prop: 'name',
                dataType: 'TEXT',
            },
            {
                name: 'unit_amount',
                prop: 'unit_amount',
                dataType: 'FLOAT',
            },
            {
                name: 'quantity',
                prop: 'quantity',
                dataType: 'FLOAT',
            },
            {
                name: 'total_amount',
                prop: 'total_amount',
                dataType: 'DECIMAL',
            },
            {
                name: 'expensedate',
                prop: 'expense_date',
                dataType: 'DATE',
            },
            {
                name: 'actual_amount',
                prop: 'actual_amount',
                dataType: 'DECIMAL',
            },
            {
                name: 'employee_id',
                prop: 'employee_id',
                dataType: 'TEXT',
            },
            {
                name: 'orgname',
                prop: 'orgname',
                dataType: 'TEXT',
            },
            {
                name: 'payment_mode',
                prop: 'payment_mode',
                dataType: 'SSCODELIST',
            },
            {
                name: 'payment_way',
                prop: 'payment_way',
                dataType: 'SSCODELIST',
            },
            {
                name: 'description',
                prop: 'description',
                dataType: 'LONGTEXT',
            },
            {
                name: 'expenseid',
                prop: 'expenseid',
                dataType: 'GUID',
            },
            {
                name: 'expense',
                prop: 'expenseid',
                dataType: 'FONTKEY',
            },
        ];
    }

}
// 默认导出
export default MobEditView_FormModel;